import Detect, { BodyState } from '../utils/Detect';

interface AiDirectProps {
  setBodyState: (state: BodyState) => void;
}

const AiDirect = (props: AiDirectProps) => {
  const { setBodyState } = props;
  return (
    <div>
      <Detect setBodyState={setBodyState}/>
    </div>
  );
};

export default AiDirect;
